# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-notifyd
pkgver=0.9.6
pkgrel=0
pkgdesc="Notification daemon for the xfce desktop"
url="https://docs.xfce.org/apps/notifyd/"
arch="all"
license="GPL-2.0-or-later"
depends="hicolor-icon-theme"
makedepends="
	gtk+3.0-dev
	libnotify-dev
	libsexy-dev
	libxfce4ui-dev
	libxfce4util
	sqlite-dev
	xfce4-panel-dev
	xfce4-dev-tools
	xfconf-dev
	"
subpackages="$pkgname-lang $pkgname-doc"
source="https://archive.xfce.org/src/apps/xfce4-notifyd/${pkgver%.*}/xfce4-notifyd-$pkgver.tar.bz2"
# tests are somewhat interactive and build manual programs
options="!check"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static \
		--disable-systemd
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
deef625fdb7828ac25a3eeb2c5e5813f285310354b33a81e1c7943024d9dee9e9b5765f94f7e7ccedd1998dab77eb2c62a2803864d56aed6f831f08b910f0071  xfce4-notifyd-0.9.6.tar.bz2
"
